using SQLBuilder;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace EntityCreater
{

    /// <summary>
    /// 创 建：邓振振
    /// 日 期：2018/7/27 12:34:38
    /// 描 述：经销商档案表
    /// </summary>
    [Table("Base_DealerInfo")]
    public class Base_DealerInfoEntity 
    {
        /// <summary>
        /// 门店ID
        /// </summary>
        /// <returns></returns>
        [Key]
        public string DealerId { get; set; }


        /// <summary>
        /// 父级id
        /// </summary>		
        public string ParentId { get; set; }

        /// <summary>
        /// 客户分类
        /// </summary>		
        public string Category { get; set; }

        /// <summary>
        /// 门店编码
        /// </summary>		
        public string EnCode { get; set; }

        /// <summary>
        /// 门店名称
        /// </summary>		
        public string FullName { get; set; }

        /// <summary>
        /// 门店简称
        /// </summary>		
        public string ShortName { get; set; }

        /// <summary>
        /// 供方ID
        /// </summary>		
        public string SupplierId { get; set; }

        /// <summary>
        /// 销方ID
        /// </summary>		
        public string SaleId { get; set; }

        /// <summary>
        /// 区域级别
        /// </summary>		
        public int? AreaLayer { get; set; }

        /// <summary>
        /// 促销类型 0-无促 1-有促 2-反聘
        /// </summary>		
        public int? PromotionType { get; set; }

        /// <summary>
        /// 营业执照图片
        /// </summary>		
        public string BusinessLicenseImg { get; set; }

        /// <summary>
        /// 门头照片
        /// </summary>		
        public string FrontImg { get; set; }

        /// <summary>
        /// 店内照片
        /// </summary>		
        public string InsideImg { get; set; }

        /// <summary>
        /// 专区图片
        /// </summary>		
        public string SpecialAreaImg { get; set; }

        /// <summary>
        /// 专区数量
        /// </summary>		
        public int? SpecialAreaAmount { get; set; }

        /// <summary>
        /// 手工平面图
        /// </summary>		
        public string HandDrawingImg { get; set; }

        /// <summary>
        /// 柜台数量
        /// </summary>		
        public int? CounterAmount { get; set; }

        /// <summary>
        /// 背板 3.6米数量
        /// </summary>		
        public int? BackVeneer_36 { get; set; }

        /// <summary>
        /// 背板 4.8米数量
        /// </summary>		
        public int? BackVeneer_48 { get; set; }

        /// <summary>
        /// 背板 6.4米数量
        /// </summary>		
        public int? BackVeneer_64 { get; set; }

        /// <summary>
        /// 背板非标数量
        /// </summary>		
        public int? BackVeneerOther { get; set; }

        /// <summary>
        /// 对应优信通ID
        /// </summary>		
        public string UxtId { get; set; }

        /// <summary>
        /// 对应优信通ID
        /// </summary>		
        public string UxtName { get; set; }

        /// <summary>
        /// 是否连锁
        /// </summary>		
        public int? IsChain { get; set; }

        /// <summary>
        /// 是否总店
        /// </summary>		
        public int? IsMain { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>		
        public string LinkMan { get; set; }

        /// <summary>
        /// 负责人电话
        /// </summary>		
        public string LinkTel { get; set; }

        /// <summary>
        /// 收货人
        /// </summary>		
        public string ConsigneeMan { get; set; }

        /// <summary>
        /// 收货人电话
        /// </summary>		
        public string ConsigneeTel { get; set; }

        /// <summary>
        /// 收货人地址
        /// </summary>		
        public string ConsigneeAddress { get; set; }

        /// <summary>
        /// 经纬度
        /// </summary>		
        public string Location { get; set; }

        /// <summary>
        /// 纬度
        /// </summary>		
        public decimal? LocationLat { get; set; }

        /// <summary>
        /// 经度
        /// </summary>		
        public decimal? LocationLng { get; set; }

        /// <summary>
        /// 导购数量
        /// </summary>		
        public int? GuideAmount { get; set; }

        /// <summary>
        /// 排序码
        /// </summary>		
        public int? SortCode { get; set; }

        /// <summary>
        /// 删除标记
        /// </summary>		
        public int? DeleteMark { get; set; }

        /// <summary>
        /// 有效标志 0 关店1正常 2撤店
        /// </summary>		
        public int? EnabledMark { get; set; }

        /// <summary>
        /// 记录 关店闭店类型: 1 新增 2 关店 3 撤店
        /// </summary>		
        public int? ObjectType { get; set; }

        /// <summary>
        /// 记录时间 关店闭店类型: 1 新增 2 关店 3 撤店 
        /// </summary>		
        public DateTime? ObjectTime { get; set; }

        /// <summary>
        /// 备注
        /// </summary>		
        public string Description { get; set; }

        /// <summary>
        /// 创建日期
        /// </summary>		
        public DateTime? CreateDate { get; set; }

        /// <summary>
        /// 创建用户主键
        /// </summary>		
        public string CreateUserId { get; set; }

        /// <summary>
        /// 创建用户
        /// </summary>		
        public string CreateUserName { get; set; }

        /// <summary>
        /// 修改日期
        /// </summary>		
        public DateTime? ModifyDate { get; set; }

        /// <summary>
        /// 修改用户主键
        /// </summary>		
        public string ModifyUserId { get; set; }

        /// <summary>
        /// 修改用户
        /// </summary>		
        public string ModifyUserName { get; set; }

    }
}